@import "../my-theme/info.less";

.openContainer2 {
  .card:before, .card:after {
    z-index: -1;
  }
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  .commonTitleMain {
    h2 {
      span {
        line-height: 35px;
        color: #939aa9;
        font-size: 12px;
        margin-left: 8px;
        vertical-align: 2px;
      }
    }
  }
  .cwBody {
    padding-left: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex: 5;
    .studentList {
      ul {
        display: flex;
        flex-wrap: wrap;
        li {
          width: 226px;
          height: 128px;
          position: relative;
          margin: 24px 24px 30px 0px;
          padding: 0 15px 0 9px;
          border-top-left-radius: 0px !important;
          border-bottom-left-radius: 0px !important;
          background-color: #ecf3fc;
          //overflow: hidden;
          div.courseMain2 {
            div.courseDetail {
              & > p:first-child {
                display: flex;
                justify-content: space-between;
                padding: 20px 10px 10px 0;
                font-size: 14px;
                line-height: 14px;
                color: @mid-gray-color;
                margin-bottom: 10px;
                height: 44px;
              }
              & > p:nth-child(2) {
                display: flex;
                color: @mid-gray-color;
                font-size: 14px;
                line-height: 14px;
                span:nth-child(2) {
                  margin: 0 30px;
                }
              }
            }
            div.enterRoom {
              display: flex;
              justify-content: space-between;
              .enterClass {
                width: 84px;
                height: 24px;
                border-radius: 2px;
                background-color: @primary-color;
                border: 1px solid @primary-color;
                color: #fff;
                font-size: 12px;
                line-height: 22px;
                text-align: center;
                margin-top: 20px;
                cursor: pointer;
                box-sizing: border-box;
              }
              .enterClass2 {
                background-color: transparent;
                color: @primary-color;
                border: 1px solid @primary-color;
              }
            }
          }
        }
      }
    }
  }
  //  openTip提醒
  .openTip {
    width: 180px;
    height: 106px;
    line-height: 106px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    font-size: 14px;
  }
}

//弹窗样式要新加类名，它是在body下
.openClass {
  .ivu-modal-content {
    overflow: visible !important;
  }
  .ivu-modal .ivu-modal-content .ivu-modal-header {
    overflow: hidden;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }
  form {
    margin-top: 15px;
    .ivu-form-item-label {
      font-size: 14px !important;
      color: @mid-gray-color !important;
      padding: 10px 0 !important;
      text-align: left !important;
    }
    .ivu-form-item-required .ivu-form-item-label:before {
      content: '';
      margin-right: 0;
    }
    .ivu-form-item-content {
      line-height: 26px;
    }
    .ivu-date-picker {
      width: 196px;
    }
    .ivu-form-item {
      margin-bottom: 30px;
    }
    .ivu-select-single .ivu-select-selection {
      height: 34px;
    }
    .ivu-select-single .ivu-select-selection .ivu-select-placeholder {
      height: 34px;
      line-height: 34px;
    }
    .ivu-input {
      height: 34px;
      line-height: 34px;
    }
    .ivu-form-item:last-child {
      margin-top: -8px;
    }
    //.ivu-radio-group{
    //  //margin-top: -11px;
    //  line-height: 12px;
    //  .ivu-radio-wrapper{
    //    line-height: 12px;
    //  }
    //}
    .ivu-radio-wrapper {
      color: #505151;
      margin-right: 12px;
    }
    .ivu-radio-wrapper:last-child {
      margin-right: 0px;
    }
    //radio选中状态
    .ivu-radio-checked .ivu-radio-inner:after {
      opacity: 0;
      transform: none;
      content: none;
    }
    .ivu-radio {
      margin-right: 0;
    }
    .ivu-radio-checked .ivu-radio-inner {
      background: url(../assets/teacher/check.png) no-repeat center;
      transition: none;
    }
    .ivu-radio-focus {
      box-shadow: none;
    }
    .ivu-radio-wrapper-checked {
      color: @primary-color;
    }
    .submit {
      width: 143px;
      height: 34px;
      text-align: center;
      color: #fff;
      font-size: 12px;
      border-radius: 3px;
      margin: 0 auto;
      display: block;
    }
    .submit[disabled] {
      background-color: @btn-disable-color !important;
      color: #fff;
    }
    .submit.active {
      color: transparent;
      background: @primary-color url(../assets/images/load.gif) no-repeat center !important;
    }
    .ivu-modal-footer {
      padding: 0;
    }
  }
}

.openClass2 {
  .ivu-form-item-required .ivu-form-item-label:before {
    content: '*' !important;
    margin-right: 4px !important;
  }
  .classOperate {
    margin-top: 1px;
    span {
      font-size: 14px;
      color: @primary-color;
      cursor: pointer;
    }
    span:last-child {
      color: @error-color;
      margin-left: 10px;
    }
  }
}

